﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
namespace OneMake.Model
{
    [PetaPoco.TableName("lz_d_prometion")]
    [PetaPoco.PrimaryKey("oid")]
    public class lz_d_prometion
    {
        [MapToField(FieldName = "统计日期")]
        public DateTime stat_datetime { get; set; }

        [MapToExcel(ColumnName = "促销宝贝名称")]
        public string prd_name { get; set; }

        [MapToExcel(ColumnName = "促销手段")]
        public string promotion_type { get; set; }

        [MapToExcel(ColumnName = "宝贝页浏览量")]
        public int browses { get; set; }

        [MapToExcel(ColumnName = "宝贝页访客数")]
        public int visits { get; set; }

        [MapToExcel(ColumnName = "收藏量")]
        public int favorites { get; set; }

        [MapToExcel(ColumnName = "拍下件数")]
        public int n_shopcart { get; set; }

        [MapToExcel(ColumnName = "拍下金额")]
        public double amount { get; set; }

        [MapToExcel(ColumnName = "成交用户数")]
        public int n_users { get; set; }

        [MapToExcel(ColumnName = "支付宝(促销)成交件数")]
        public int pm_num1 { get; set; }

        [MapToExcel(ColumnName = "支付宝(促销)成交笔数")]
        public int pm_num2 { get; set; }

        [MapToExcel(ColumnName = "支付宝(促销)成交金额")]
        public double pm_amount { get; set; }

        [MapToExcel(ColumnName = "促销成交用户数")]
        public int pm_users { get; set; }

        [MapToExcel(ColumnName = "支付宝(非促销)成交件数")]
        public int nonpm_num1 { get; set; }

        [MapToExcel(ColumnName = "支付宝(非促销)成交笔数")]
        public int nonpm_num2 { get; set; }

        [MapToExcel(ColumnName = "支付宝(非促销)成交金额")]
        public double nonpm_amount { get; set; }

        [MapToExcel(ColumnName = "非(促销)成交用户数")]
        public int nonpm_users { get; set; }

        [MapToExcel(ColumnName = "宝贝页(促销)成交转化率")]
        public double per_pm { get; set; }

        
		/////////////////////////////////////////
        [MapToField(FieldName = "门店编号")]
        public int shopid { get; set; }
        [MapToField(FieldName = "文件编号")]
        public int fileid { get; set; }
        [MapToField(FieldName = "编号")]
        public int oid { get; private set; }    
    }
}